package com.whmnx.main.ui.view;

import android.app.Activity;

import com.whmnx.base.bean.ProductBean;
import com.whmnx.base.bean.SpecBean;


/**
 * Company 武汉麦诺软创
 *
 * @author lizhe
 * @date 2018/11/2
 */

public class SelectPopUtil {

    public static void showSpec(Activity context, ProductBean specBean, String strName, int type, SelectParamPopupWindow.OnCancelListener onCancelListener) {
        SelectParamPopupWindow selectParamPopupWindow = new SelectParamPopupWindow(context,strName,specBean,type);
        selectParamPopupWindow.showPop(context.getWindow().getDecorView(),context);
        selectParamPopupWindow.setOnCancelListener(onCancelListener);
    }
}
